package com.lxy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created by Enzo Cotter on 2022/9/15.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Rent {
    private int rid;
    private int rhid;
    private int rlid;
    private Date rpayTime;
    private double rprice;
    private House house;
    private Lessee lessee;
    @Override
    public String toString() {
        return "Rent{" +
                "rid=" + rid +
                ", rhid=" + rhid +
                ", rlid=" + rlid +
                ", rpayTime=" + rpayTime +
                ", rprice=" + rprice +
                ", house=" + house +
                ", lessee=" + lessee +
                '}';
    }

}
